package com.mymarkdown.app.common.lister;

import java.io.Closeable;

public interface FileWatch<T> extends Runnable, Closeable {

    void start();

    void close();

    void addWatchPath(String path);

    void removeWatchPath(String path);

    void addWatch(WatchFile watchFile);

    void removeWatch(WatchFile watchFile);

    void setInterval(long interval);

    long getInterval();


    boolean isStart();
}
